package cn.edu.zzuli.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel("投诉申诉信息")
@Data
@NoArgsConstructor
public class ComplaintInfo {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户编号")
    private Integer userId;

    @ApiModelProperty("信息内容")
    private String description;

    @ApiModelProperty("图片信息")
    private String url;

    @ApiModelProperty("图片信息")
    private String url2;

    @ApiModelProperty("图片信息")
    private String url3;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("是否处理完成")
    private Integer dealed;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //@TableLogic
    private Integer deleted;

}
